avatar Bite 38. Using ElementTree to parse XML

In this Bite you will use ElementTree to parse some Nolan movies we extracted from OMDb.

Luckily most APIs switched to JSON, but sometimes XML is all there is, so at least learn to parse some! Complete the get_tree, get_movies and get_movie_longest_runtime functions below. See the docstrings and tests for more info.

Have fun and remember:

Keep calm and code in Python!
Login and get coding
go back Beginner level
Bitecoin 2X

711 out of 724 users completed this Bite.
Will you be the 712th person to crack this Bite?
Resolution time: ~54 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 5.36 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help